package mammuthus.command

import mammuthus.tool.TarGzip
import java.io.File

/**
 * 5/11/15 WilliamZhu(allwefantasy@gmail.com)
 */
class JTar {
  def main(args: Array[String]): Unit = {
    val sourceFile = new File(args(0))
    val dir = args(1)
    if (!sourceFile.exists()) return;
    TarGzip.extractTarGzip(sourceFile, new File(dir))
  }
}
